package demo7;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 86183
 */
public class Dog extends Animal{
    static{
        System.out.println("Dog类---静态代码块");
    }
    {
        System.out.println("Dog类---实例代码块");
    }
    public Dog(String nane, int age) {
        super(nane, age);
        System.out.println("Dog类---构造方法");
    }
}
